package com.huiyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huiyi.common.annotation.Excel;
import com.huiyi.common.core.domain.BaseEntity;

/**
 * 诊断管理对象 appointment_order
 * 
 * @author zfz
 * @date 2024-11-13
 */
public class AppointmentOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long orderId;

    /** 预约编号 */
    private Long appointmentId;

    /** （医生专科） */
    @Excel(name = "医生专科", readConverterExp = "医=生专科")
    private String specialty;

    /** 医生ID（外键，关联doctor表doctor_id） */
    @Excel(name = "医生ID", readConverterExp = "外=键，关联doctor表doctor_id")
    private Long doctorId;

    private String doctorName;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String name;

    /** 用户ID（外键，关联sys_user表user_id） */
    @Excel(name = "用户ID", readConverterExp = "外=键，关联sys_user表user_id")
    private Long userId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 患者性别（0男 1女 2未知） */
    @Excel(name = "患者性别", readConverterExp = "0=男,1=女,2=未知")
    private String patientGender;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long patientAge;

    /** 症状描述 */
    @Excel(name = "症状描述")
    private String symptoms;

    /** 诊断结果（可为空） */
    @Excel(name = "诊断结果", readConverterExp = "可=为空")
    private String diagnosisResult;

    /** 挂号费（引用自doctor表中的registration_fee） */
    @Excel(name = "挂号费", readConverterExp = "引=用自doctor表中的registration_fee")
    private BigDecimal registrationFee;

    private Long doctor_id;

    public Long getAppointmentId() {
        return appointmentId;
    }
    public void setAppointmentId(Long appointmentId) {
        this.appointmentId = appointmentId;
    }

    public Long getDoctorId() {
        return doctorId;
    }
    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public String getSpecialty() 
    {
        return specialty;
    }
    public void setSpecialty(String specialty)
    {
        this.specialty = specialty;
    }


    public Long getDoctor_id() {
        return doctor_id;
    }
    public void setDoctor_id(Long doctor_id) {
        this.doctor_id = doctor_id;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientGender() 
    {
        return patientGender;
    }
    public void setPatientGender(String patientGender)
    {
        this.patientGender = patientGender;
    }


    public Long getPatientAge() 
    {
        return patientAge;
    }
    public void setPatientAge(Long patientAge)
    {
        this.patientAge = patientAge;
    }


    public String getSymptoms() 
    {
        return symptoms;
    }
    public void setSymptoms(String symptoms)
    {
        this.symptoms = symptoms;
    }


    public String getDiagnosisResult() 
    {
        return diagnosisResult;
    }
    public void setDiagnosisResult(String diagnosisResult)
    {
        this.diagnosisResult = diagnosisResult;
    }

    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public BigDecimal getRegistrationFee()
    {
        return registrationFee;
    }
    public void setRegistrationFee(BigDecimal registrationFee)
    {
        this.registrationFee = registrationFee;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
                .append("appointmentId",getAppointmentId())
            .append("specialty", getSpecialty())
            .append("doctorId", getDoctorId())
            .append("name", getName())
            .append("userId", getUserId())
            .append("patientName", getPatientName())
            .append("patientGender", getPatientGender())
            .append("patientAge", getPatientAge())
            .append("symptoms", getSymptoms())
            .append("diagnosisResult", getDiagnosisResult())
            .append("registrationFee", getRegistrationFee())
            .toString();
    }
}
